package com.hui.operatelog;

/**
 * 操作类型枚举
 */
public enum OperateType {

    LOGIN(1, "登录"), LOGIN_OUT(2, "登出"), ADD(3, "新增"), DELETE(4, "删除"), UPDATE(5, "修改"), SELECT(6, "查看");

    private Integer key;

    private String value;

    OperateType(Integer key, String value) {
        this.key = key;
        this.value = value;
    }

    public Integer getKey() {
        return key;
    }

    public void setKey(Integer key) {
        this.key = key;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}